Skip to content

fix(playwright): Validate browser context options before calling launch_persistent_context#1813

Closed
ReinerBRO wants to merge 1 commit intoapify:masterfrom
ReinerBRO:fix/persistent-browser-storage-state-guard
Closed

fix(playwright): Validate browser context options before calling launch_persistent_context#1813
ReinerBRO wants to merge 1 commit intoapify:masterfrom
ReinerBRO:fix/persistent-browser-storage-state-guard

Conversation

@ReinerBRO
Copy link
Copy Markdown

Fixes the persistent Playwright browser path so unsupported browser_new_context_options are rejected early with a clear error instead of failing later inside launch_persistent_context(). Adds a regression test covering storage_state.

@janbuchar janbuchar requested review from Mantisus and Pijukatel March 26, 2026 12:02
@vdusek vdusek changed the title Guard persistent Playwright storage_state options fix: Guard persistent Playwright storage_state options Mar 26, 2026
@vdusek vdusek changed the title fix: Guard persistent Playwright storage_state options fix(playwright): Validate browser context options before calling launch_persistent_context Mar 26, 2026
@Pijukatel
Copy link
Copy Markdown
Collaborator

Hello, we already have #1796 in progress, so I guess we should just finalize and merge that one.

@vdusek
Copy link
Copy Markdown
Collaborator

vdusek commented Mar 26, 2026

Hi @ReinerBRO, thanks for the PR, however we already have #1796 opened, so closing in favour of that.

@vdusek vdusek closed this Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants